﻿using WebAPI测试程序.Attr;
using WebAPI测试程序.IServices;

namespace WebAPI测试程序.Services
{
    public class OrderService : IOrderService
    {
        private readonly ILogger<OrderService> logger;

        public OrderService(ILogger<OrderService> logger)
        {
            this.logger = logger;
        }

        public void Order()
        {
            logger.LogInformation("用户开始下单");
        }
    }
}
